<?php

$_config ['db'] = array(
    'table_pre' => '',
    'charset' => 'utf8',
    'server' => array(
        'default' => array(
            'dsn'      => 'mysql:dbname=yuanfenba_xhs;host=127.0.0.1',
            'user'     => 'root',
            'password' => 'rootjuxin2017',
        ),
    ),
    'server_read' => array(
        'read_1' => array(
            'dsn'      => 'mysql:dbname=yuanfenba_xhs;host=127.0.0.1',
            'user'     => 'root',
            'password' => 'rootjuxin2017',
        ),
    ),
    'server_others' => array(
        'db_6' => array(
            'dsn'      => 'mysql:dbname=yuanfenba_xhs;host=127.0.0.1',
            'user'     => 'root',
            'password' => 'rootjuxin2017',
        ),
        //小红薯表
        'xhs_master' => array(
            'dsn' => 'mysql:dbname=xiaohongshu;host=127.0.0.1',
            'user' => 'root',
            'password' => 'rootjuxin2017',
        ),
        'xhs_slave' => array(
            'dsn' => 'mysql:dbname=xiaohongshu;host=127.0.0.1',
            'user' => 'root',
            'password' => 'rootjuxin2017',
        ),
    ),
);
